import java.util.ArrayList;

public class AccountsReport implements ReportStrategy
{
	//private AccountManager acctAdmin= new AccountManager();
	
	public void printReport()
	{
	    ArrayList<CustomerAccount> list=Accounts.getAccounts();
	    for(int i=0;i<list.size();i++)
	    {
	    	System.out.println("Customer "+(i+1)+": ");
	    	System.out.println("Name: "+list.get(i).getName());
	    	System.out.println("Email: "+list.get(i).getEmail());
	    	System.out.println("Address: "+list.get(i).getAddress());
	    	System.out.println("Phone: "+list.get(i).getPhone());
	    	System.out.println("Membership: "+list.get(i).getMembership().toString()+"\n");
	    }
	}
	
}